package com.silences.pojo;

//商品表
public class Doods {

    private int id;
    private String name;
    private String type;
    private String price;
    private int quantity;//商品库存
    private String status;//商品是否上架
    private String info;//商品描述

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    //有参狗子函数

    public Doods(int id, String name, String type, String price, int quantity, String status, String info) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.price = price;
        this.quantity = quantity;
        this.status = status;
        this.info = info;
    }


    //无参

    public Doods() {
    }

}
